Entity CaptureItem
CaptureItem is the Entity definition for the in-world version of the multiplayer flag.
Subclass of Entity.
Functions
GetCaptureTeam () | GetCaptureTeam returns the ID of the team that owns the capture flag. |
GetInventoryItem () | GetInventoryItem returns the CaptureInvItem item of the flag. |
Functions
- GetCaptureTeam ()
-
GetCaptureTeam returns the ID of the team that owns the capture flag.
Returns:
-
An integer value of the team ID owning the flag.
- GetInventoryItem ()
-
GetInventoryItem returns the CaptureInvItem item of the flag.
Returns:
-
An object of type CaptureInvItem corresponding to the carried version of the flag.